package com.egobuy.search;

import com.egobuy.config.DruidConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Hello
 */
@SpringBootApplication
@Import(DruidConfig.class)
@EnableTransactionManagement
@MapperScan("com.egobuy.search.mapper")
public class SearchApp {
    public static void main(String[] args) {
        SpringApplication.run(SearchApp.class,args);
    }
}
